﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="ToolTipLeftArrowStyle" TargetType="{x:Type ToolTip}">
        <Style.Setters>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type ToolTip}">
                        <Grid Width="200">
                            <Polygon Stroke="Black" StrokeThickness="2" Fill="{StaticResource {x:Static SystemColors.InfoBrushKey}}">
                                <Polygon.Points>
                                    <PointCollection>
                                        <Point X="180" Y="20" />
                                        <Point X="180" Y="80" />
                                        <Point X="30" Y="80" />
                                        <Point X="30" Y="100" />
                                        <Point X="2" Y="50" />
                                        <Point X="2" Y="50" />
                                        <Point X="30" Y="0" />
                                        <Point X="30" Y="20" />
                                    </PointCollection>
                                </Polygon.Points>
                            </Polygon>
                            <TextBlock Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content}"
                                       VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="20,10,10,10" TextWrapping="Wrap" />
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style.Setters>
    </Style>
</ResourceDictionary>